package com.hirel.domain.student;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class StudentAddress {

	private Integer zipCode;
	private String street;
	private String city;
	
	@Column(name="SD_ADDRESS_ZIPCODE",length=6,nullable=false)
	public Integer getZipCode() {
		return zipCode;
	}
	@Column(name="SD_ADDRESS_STREET",length=50,nullable=false)
	public String getStreet() {
		return street;
	}
	@Column(name="SD_ADDRESS_CITY",length=50,nullable=false)
	public String getCity() {
		return city;
	}
	@Column(name="SD_ADDRESS_STATE",length=50,nullable=false)
	public String getState() {
		return state;
	}
	
	
	
	public void setZipCode(Integer zipCode) {
		this.zipCode = zipCode;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public void setState(String state) {
		this.state = state;
	}
	private String state;
	
	
	
}
